package com.theopentutorials.jdbc.to;
//
//Transfer Object (TO) design pattern:

import java.util.Date;


// Transfer Object pattern encapsulates business data
//Transfer Object pattern encapsulates business data. 
//To implement this pattern, we write a class with properties defining the table attribute
//
public class Employee {
     
    private int empId;
    private String empName;
    private Date dob;
    private double salary;
    private int deptId;
     
    //getters and setters omitted for brevity
}